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:
Wang King 2017-04-13 10:16:43 +08:00 committed by John Ferlan
parent b80b0c4517
commit 05b3846caf

View File

@ -13089,7 +13089,6 @@ virSysinfoBaseBoardParseXML(xmlXPathContextPtr ctxt,
*baseBoard = boards;
*nbaseBoard = nboards;
boards = NULL;
nboards = 0;
ret = 0;
cleanup:
VIR_FREE(boards);