[libvirt] [PATCH 12/23] conf: Refactor control flow in virDomainDefFormatFeatures

Ján Tomko jtomko at redhat.com
Wed Mar 6 11:46:46 UTC 2019


On Wed, Mar 06, 2019 at 09:20:37AM +0100, Peter Krempa wrote:
>Use an early return to avoid one level of nesting scopes.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c | 423 +++++++++++++++++++++--------------------
> 1 file changed, 212 insertions(+), 211 deletions(-)
>

-w --stat
 1 file changed, 4 insertions(+), 3 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/20190306/bce6f392/attachment-0001.sig>


More information about the libvir-list mailing list