mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05: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:
@@ -13089,7 +13089,6 @@ virSysinfoBaseBoardParseXML(xmlXPathContextPtr ctxt,
|
||||
*baseBoard = boards;
|
||||
*nbaseBoard = nboards;
|
||||
boards = NULL;
|
||||
nboards = 0;
|
||||
ret = 0;
|
||||
cleanup:
|
||||
VIR_FREE(boards);
|
||||
|
||||
Reference in New Issue
Block a user