[libvirt] [PATCH 04/14] virsh-completer: switch to using tmp instead of ret
Peter Krempa
pkrempa at redhat.com
Wed Apr 3 07:40:58 UTC 2019
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 at redhat.com>
> ---
> tools/virsh-completer.c | 195 +++++++++++++++++++++++++---------------
> 1 file changed, 125 insertions(+), 70 deletions(-)
There's at least 1 unrelated whitespace change.
ACK regardless.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190403/8f0cd97e/attachment-0001.sig>
More information about the libvir-list
mailing list