mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-26 22:45:17 +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;
|
*baseBoard = boards;
|
||||||
*nbaseBoard = nboards;
|
*nbaseBoard = nboards;
|
||||||
boards = NULL;
|
boards = NULL;
|
||||||
nboards = 0;
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
cleanup:
|
cleanup:
|
||||||
VIR_FREE(boards);
|
VIR_FREE(boards);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user