提交 580ad292 编写于 作者: C Charles Duffy 提交者: Mark McLoughlin

Fix unitialized variable in qemudDomainDetachHostPciDevice()

* src/qemu/qemu_driver.c: initialize detach var
上级 6bfffce9
......@@ -6132,7 +6132,7 @@ static int qemudDomainDetachHostPciDevice(virConnectPtr conn,
virDomainObjPtr vm,
virDomainDeviceDefPtr dev)
{
virDomainHostdevDefPtr detach;
virDomainHostdevDefPtr detach = NULL;
char *cmd, *reply;
int i, ret;
pciDevice *pci;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册