mirror of https://gitee.com/openkylin/libvirt.git
Remove redundand assignment
I initially added this in order to keep the code more error-prone to following additions, but it seems it's still frowned upon. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
cde3b97a26
commit
54cf313cdd
|
@ -831,7 +831,6 @@ qemuDomainObjPrivateXMLParse(xmlXPathContextPtr ctxt,
|
|||
goto error;
|
||||
}
|
||||
virObjectUnref(caps);
|
||||
caps = NULL;
|
||||
VIR_FREE(tmp);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue