]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Remove redundand assignment
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 24 Sep 2015 08:20:33 +0000 (10:20 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 24 Sep 2015 08:20:33 +0000 (10:20 +0200)
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>
src/qemu/qemu_domain.c

index b57b9954b33f5fff4c2f8c9874ec67a5543fa827..12cc447180b56d68086ac8ef22bedd3f983b7966 100644 (file)
@@ -831,7 +831,6 @@ qemuDomainObjPrivateXMLParse(xmlXPathContextPtr ctxt,
             goto error;
     }
     virObjectUnref(caps);
-    caps = NULL;
     VIR_FREE(tmp);
 
     return 0;