mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 07:42:56 +00:00
conf: remove unused assignment statement in virSysinfoBaseBoardParseXML
Assigning value 0 to @nboards in success path, that stored value is not used.
This commit is contained in:
parent
b80b0c4517
commit
05b3846caf
@ -13089,7 +13089,6 @@ virSysinfoBaseBoardParseXML(xmlXPathContextPtr ctxt,
|
||||
*baseBoard = boards;
|
||||
*nbaseBoard = nboards;
|
||||
boards = NULL;
|
||||
nboards = 0;
|
||||
ret = 0;
|
||||
cleanup:
|
||||
VIR_FREE(boards);
|
||||
|
Loading…
x
Reference in New Issue
Block a user