mirror of https://gitee.com/openkylin/libvirt.git
qemudNetworkIfaceConnect: remove dead store
* src/qemu/qemu_conf.c (qemudNetworkIfaceConnect): Remove extraneous virSaveLastError call, whose result was unused.
This commit is contained in:
parent
3647515788
commit
546d1f40a0
|
@ -1522,7 +1522,6 @@ qemudNetworkIfaceConnect(virConnectPtr conn,
|
|||
virSetError(errobj);
|
||||
virFreeError(errobj);
|
||||
|
||||
errobj = virSaveLastError();
|
||||
if (fail)
|
||||
return -1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue