]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemudDomainSaveFlag: remove dead store
authorJim Meyering <meyering@redhat.com>
Thu, 29 Apr 2010 15:56:01 +0000 (17:56 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 29 Apr 2010 20:13:24 +0000 (22:13 +0200)
* src/qemu/qemu_driver.c (qemudDomainSaveFlag): Remove dead store to "rc".

src/qemu/qemu_driver.c

index c2902ac1ddf86e9c9603d0b416b8ef09b0a5bc42..42a653a431902da61535822f48ac8caa126306c0 100644 (file)
@@ -4822,7 +4822,7 @@ static int qemudDomainSaveFlag(virDomainPtr dom, const char *path,
             virReportSystemError(errno, _("unable to open %s"), path);
             goto endjob;
         }
-        if ((rc = qemudDomainSaveFileOpHook(fd, &hdata)) != 0) {
+        if (qemudDomainSaveFileOpHook(fd, &hdata) != 0) {
             close(fd);
             goto endjob;
         }