Move the virInterfacePtr declaration to the top of the
function to avoid jump uninitialized variable warnings
* src/phyp/phyp_driver.c: Fix var declaration
int slot = 0;
int lpar_id = 0;
char mac[PHYP_MAC_SIZE];
+ virInterfacePtr result = NULL;
/*Getting the slot number for the interface */
virBufferAddLit(&buf, "lshwres ");
memcpy(mac, ret, PHYP_MAC_SIZE-1);
- virInterfacePtr result = virGetInterface(conn, name, ret);
+ result = virGetInterface(conn, name, ret);
VIR_FREE(cmd);
VIR_FREE(ret);