From: Martin Kletzander Date: Thu, 24 Sep 2015 08:20:33 +0000 (+0200) Subject: Remove redundand assignment X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=54cf313cdd3472168665ff29a781d3d88eec407e;p=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 --- diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index b57b9954b3..12cc447180 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -831,7 +831,6 @@ qemuDomainObjPrivateXMLParse(xmlXPathContextPtr ctxt, goto error; } virObjectUnref(caps); - caps = NULL; VIR_FREE(tmp); return 0;