On Mon, Aug 19, 2024 at 16:38:27 +0200, Michal Privoznik wrote:
All calls to vshTableRowAppend() inside of cmdList() share couple
of same arguments: domain ID, domain name and domain state. While
the first one is stored in a variable and then passed to all
vshTableRowAppend() calls, the others are passed as a function
call. Switch the latter to variables too.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
tools/virsh-domain-monitor.c | 26 ++++++++++++--------------
1 file changed, 12 insertions(+), 14 deletions(-)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>