Re: [PATCH 21/28] tests-qmp-cmds: Drop unused and incorrect qmp_TestIfCmd()

2021-03-23 Thread Eric Blake
On 3/23/21 4:40 AM, Markus Armbruster wrote: > Commit 967c885108 "qapi: add 'if' to top-level expressions" added > command TestIfCmd with an 'if' condition. It also added the > qmp_TestIfCmd() to go with it, guarded by the corresponding #if. > Commit ccadd6bcba "qapi: Add 'if' to implicit struct m

[PATCH 21/28] tests-qmp-cmds: Drop unused and incorrect qmp_TestIfCmd()

2021-03-23 Thread Markus Armbruster
Commit 967c885108 "qapi: add 'if' to top-level expressions" added command TestIfCmd with an 'if' condition. It also added the qmp_TestIfCmd() to go with it, guarded by the corresponding #if. Commit ccadd6bcba "qapi: Add 'if' to implicit struct members" changed the command, but not the function. C