[PATCH 016/103] virCommandGetArgList: Remove 'nargs' argument

Ján Tomko jtomko at redhat.com
Thu Oct 7 16:50:06 UTC 2021


On a Thursday in 2021, Peter Krempa wrote:
>The returned argument list is a NULL-terminated string list and the only
>caller doesn't use the count. Remove the argument.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/util/vircommand.c    | 4 +---
> src/util/vircommand.h    | 2 +-
> tests/qemuxml2argvtest.c | 3 +--
> 3 files changed, 3 insertions(+), 6 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211007/0c82d02c/attachment-0001.sig>


More information about the libvir-list mailing list