[Pkg-libvirt-commits] [libguestfs] 60/87: libvirt-domain: Remove unnecessary and wrongly indented parens.
Hilko Bengen
bengen at moszumanska.debian.org
Wed Feb 19 21:10:15 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch debian
in repository libguestfs.
commit d00ff11cbc2fb3c165b9b0be733d63530c745901
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.
(cherry picked from commit 1d2e74414b04d69ed48984a7a4e809be502c7999)
---
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 238f64d..63872bd 100644
--- a/src/libvirt-domain.c
+++ b/src/libvirt-domain.c
@@ -486,18 +486,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