From: Tim Wiederhake Date: Mon, 1 Feb 2021 12:41:59 +0000 (+0100) Subject: xen: Fix indentation in xenParseXLSpice X-Git-Tag: v7.1.0-rc1~341 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6675869fbe72e17f40f09c7ff798d0ef12d7145;p=thirdparty%2Flibvirt.git xen: Fix indentation in xenParseXLSpice This was found by clang-tidy's "readability-misleading-indentation" check. Signed-off-by: Tim Wiederhake Reviewed-by: Peter Krempa --- diff --git a/src/libxl/xen_xl.c b/src/libxl/xen_xl.c index 621ee63a99..6dcba43fe0 100644 --- a/src/libxl/xen_xl.c +++ b/src/libxl/xen_xl.c @@ -359,9 +359,8 @@ xenParseXLSpice(virConfPtr conf, virDomainDefPtr def) graphics->data.spice.port = (int)port; - if (!graphics->data.spice.tlsPort && - !graphics->data.spice.port) - graphics->data.spice.autoport = 1; + if (!graphics->data.spice.tlsPort && !graphics->data.spice.port) + graphics->data.spice.autoport = 1; if (xenConfigGetBool(conf, "spicedisable_ticketing", &val, 0) < 0) goto cleanup;