---
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;
--
1.8.4.2