[Pkg-libvirt-commits] [libguestfs] 112/233: libvirt-domain: Remove unnecessary and wrongly indented parens.

Hilko Bengen bengen at moszumanska.debian.org
Wed Feb 19 21:11:25 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 1d2e74414b04d69ed48984a7a4e809be502c7999
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Thu Jan 23 11:31:40 2014 +0000

    libvirt-domain: Remove unnecessary and wrongly indented parens.
---
 src/libvirt-domain.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
index af9770f..a041e8f 100644
--- a/src/libvirt-domain.c
+++ b/src/libvirt-domain.c
@@ -489,18 +489,16 @@ for_each_disk (guestfs_h *g,
                                              xpathCtx);
         if (xpfilename == NULL ||
             xpfilename->nodesetval == NULL ||
-            xpfilename->nodesetval->nodeNr == 0) {
+            xpfilename->nodesetval->nodeNr == 0)
           continue;           /* disk filename not found, skip this */
-      }
       } else if (STREQ (type, "block")) { /* type = "block", use source/@dev */
         xpathCtx->node = nodes->nodeTab[i];
         xpfilename = xmlXPathEvalExpression (BAD_CAST "./source/@dev",
                                              xpathCtx);
         if (xpfilename == NULL ||
             xpfilename->nodesetval == NULL ||
-            xpfilename->nodesetval->nodeNr == 0) {
+            xpfilename->nodesetval->nodeNr == 0)
           continue;           /* disk filename not found, skip this */
-        }
       } else if (STREQ (type, "network")) { /* type = "network", use source/@name */
         int hi;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list