mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
conf: domain: Reformat XPath queries in virSysinfoChassisParseXML
Remove the unneeded linebreaks after assignment operator. Only one line exceeds 80 colums and just by 4 characters. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
1f0745154d
commit
98f604d44a
@ -12280,16 +12280,11 @@ virSysinfoChassisParseXML(xmlNodePtr node,
|
||||
|
||||
def = g_new0(virSysinfoChassisDef, 1);
|
||||
|
||||
def->manufacturer =
|
||||
virXPathString("string(entry[@name='manufacturer'])", ctxt);
|
||||
def->version =
|
||||
virXPathString("string(entry[@name='version'])", ctxt);
|
||||
def->serial =
|
||||
virXPathString("string(entry[@name='serial'])", ctxt);
|
||||
def->asset =
|
||||
virXPathString("string(entry[@name='asset'])", ctxt);
|
||||
def->sku =
|
||||
virXPathString("string(entry[@name='sku'])", ctxt);
|
||||
def->manufacturer = virXPathString("string(entry[@name='manufacturer'])", ctxt);
|
||||
def->version = virXPathString("string(entry[@name='version'])", ctxt);
|
||||
def->serial = virXPathString("string(entry[@name='serial'])", ctxt);
|
||||
def->asset = virXPathString("string(entry[@name='asset'])", ctxt);
|
||||
def->sku = virXPathString("string(entry[@name='sku'])", ctxt);
|
||||
|
||||
if (!def->manufacturer && !def->version &&
|
||||
!def->serial && !def->asset && !def->sku) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user