Re: [PATCH 04/14] virsh-completer: switch to using tmp instead of ret

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 01, 2019 at 09:33:21 +0200, Ján Tomko wrote:
> Construct the potential return value in an array called 'tmp'
> and only assign it to 'ret' if we're going to return it.
> 
> This will allow us to unify the error and success paths.
> 
> Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
> ---
>  tools/virsh-completer.c | 195 +++++++++++++++++++++++++---------------
>  1 file changed, 125 insertions(+), 70 deletions(-)

There's at least 1 unrelated whitespace change.

ACK regardless.

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux